from django.conf.urls.defaults import *
from mysite.liveblog.models import Update

urlpatterns = patterns('django.views.generic',
                       url(r'^$', 'list_detail.object_list', {
                           'queryset': Update.objects.all(),
                           'template_name': 'update_list.html'
                       }),

                       )
urlpatterns += patterns('',
                       url(r'^updates-after/(?P<id>\d+)/$',
                           'mysite.liveblog.views.updates_after'),
                       )